﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Customer
/// </summary>
public class Customer
{

    private string customerId;
    private string username;
    private string password;
    private string fullname;
    private DateTime dateofbirth;
    private bool gender;
    private string address;
    private string phone;
    



    public string CustomerId
    {
        get { return customerId; }
        set { customerId = value; }
    }
    
    public string Username
    {
        get { return username; }
        set { username = value; }
    }
  
    public string Password
    {
        get { return password; }
        set { password = value; }
    }
   
    public string Fullname
    {
        get { return fullname; }
        set { fullname = value; }
    }
 
    public DateTime Dateofbirth
    {
        get { return dateofbirth; }
        set { dateofbirth = value; }
    }
    
    public bool Gender
    {
        get { return gender; }
        set { gender = value; }
    }
    
    public string Address
    {
        get { return address; }
        set { address = value; }
    }
    
    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }
    
   
    
    //public int Levelid
    //{
    //    get { return levelid; }
    //    set { levelid = value; }
    //}


    public Customer()
    {
        this.customerId = "";
        this.username = "";
        this.password = "";
        this.fullname = "";
        this.dateofbirth = DateTime.Now.AddYears(-18);
        this.gender = true;
        this.address = "";
        this.phone = "";
       

    }
    public Customer(string _customerid, string _username, string _password, string _fullname, DateTime _dateofbirth, bool _gender, string _address, string _phone)
    {
        this.customerId = _customerid;
        this.username = _username;
        this.password = _password;
        this.fullname = _fullname;
        this.dateofbirth = _dateofbirth;
        this.gender = _gender;
        this.address = _address;
        this.phone = _phone;
     
 

    }

}